package top.tenebrous.yzl.chat.model;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class MemberLoginVO implements Serializable {

	private static final long serialVersionUID = -1450339698390393194L;

    private SaTokenInfo tokenInfo;

    private MemberInfo memberInfo;

    @Data
    public static class MemberInfo {

        /**
         * 自增id
         */
        @ApiModelProperty(value="自增id")
        private Long id;

        /**
         * 用户名
         */
        @ApiModelProperty(value="用户名")
        private String userName;

        /**
         * 会员头像
         */
        @ApiModelProperty(value="会员头像")
        private String imageUrl;


        /**
         * 性别 0-女 1-男
         */
        @ApiModelProperty(value="性别 0-女 1-男")
        private Integer gender;

        /**
         * 省份
         */
        @ApiModelProperty(value="省份")
        private Integer province;

        /**
         * 城市
         */
        @ApiModelProperty(value="城市")
        private Integer city;
    }
}